package com.jy.rhin.model.body.feiyong;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/**
 * @Author 姚俊
 * @Date 2023/2/9 15:40
 * @Description 费用
 */
@Data
public class FeiYong {
    //门诊费用分类名称
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE07.00.003.00'][@codeSystem='2.16.156.10011.2.2.1']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE07_00_003_00))
    String menZhenFYFLMC;
    //门诊费用分类
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE07.00.002.00'][@codeSystem='2.16.156.10011.2.2.1']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE07_00_002_00))
    CodeObject menZhenFYFL;
    //门诊费用金额
    @XPath(path = "/entry/observation/code[@code='DE07.00.004.00'][@codeSystem='2.16.156.10011.2.2.1']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE07_00_004_00))
    String menZhenFYJE;
    //门诊费用结算方式
    @XPath(path = "/entry/observation/code[@code='DE07.00.006.00'][@codeSystem='2.16.156.10011.2.2.1']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE07_00_006_00))
    CodeObject zhuYuanFYJSFS;
    //医疗付款方式
    @XPath(path = "/entry/observation/code[@code='DE07.00.007.00'][@codeSystem='2.16.156.10011.2.2.1']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE07_00_007_00))
    CodeObject yiLiaoFKFS;
}
